home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2002 July
/
07_02.iso
/
software
/
xq-xsetup
/
files
/
setup.exe
/
{app}
/
plugins
/
XQ ICS 2.xpl
< prev
next >
Wrap
Text File
|
2001-02-10
|
1KB
|
67 lines
"FILE"="Xteq Systems X-Setup Plugin 6.0"
"TYPE"="6"
"COUNT"="2"
"UIPATH"="Internet\Internet Connection Sharing"
"NAME"="ICS Settings"
"VERSION"="1.17"
"OSVERSION"="00101"
"LANGUAGE"="VBScript"
"TEXT 1"="Show ICS Icon on Taskbar"
"TEXT 2"="Enable ICS"
"DESCRIPTION 1"="To show Internet Connection Sharing Icon on Hosts Taskbar, check box; to hide icon, uncheck box."
"DESCRIPTION 2"="To Enable Internet Connection Sharing, check box; to disable ICS, uncheck box."
"AUTHOR"="Ojatex@aol.com"
"CONTACTURL"="http://members.aol.com/ojatex/"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"=" "
sP="HKLM\System\CurrentControlSet\Services\ICSharing\Settings\General\"
sV2="ShowTrayIcon"
sV1="Enabled"
Sub Plugin_Initialize
if RegPathExists(sp) then
i=RegReadValue(sp & sv2)
if i=1 then SetUIElement 1,true
i=RegReadValue(sp & sv1)
if i=1 then SetUIElement 2, true
else
Disable
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
b=GetUIElement(1)
if b=true then
Call RegWriteValue(sp & sv2,"1",1)
else
Call RegWriteValue(sp & sv2,"0",1)
end if
b=GetUIElement(2)
if b=true then
Call RegWriteValue(sp & sv1,"1",1)
else
Call RegWriteValue(sp & sv1,"0",1)
end if
Call Restart
End Sub
Sub Plugin_Terminate
End Sub